﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 订单明细表 
    /// </summary>
    [Table("DingDanDetail")]
    public class Model_DingDanDetail:Model_Base
    {
        [Column("ID")]
        [Key]
        [Required]
        public string ID { get; set; }
        /// <summary>
        /// 所属订单
        /// </summary>
        public string DingDanID { get; set; }
        /// <summary>
        /// 菜单明细编号
        /// </summary>
        public string CaiDanDetailID { get; set; }
        /// <summary>
        /// 订购个数
        /// </summary>
        public int Count { get; set; }

    }
}
